home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / Interfaces / C / SemtIntB.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-13  |  19.7 KB  |  534 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: SemtIntB.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emith.dll: 2.33
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *  Classes defined in this interface
  13.  * 
  14.  */
  15.  
  16.  
  17. #ifndef SOM_ODSemanticInterface_h
  18. #define SOM_ODSemanticInterface_h
  19.  
  20.  
  21. #include <som.h>
  22.  
  23. /*
  24.  * -- This emitter treats Method Tokens as Thunks by default.
  25.  * -- Use the sc modifier "nothunks" to change this default
  26.  */
  27. #undef somresolve_
  28. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  29.  
  30. /*
  31.  * Define the class name as an object type
  32.  */
  33. #ifndef ODSemanticInterface
  34. #define ODSemanticInterface SOMObject
  35. #endif
  36. #include <Extensn.h>
  37.  
  38. /*
  39.  * Start of user-defined types:
  40.  */
  41. #ifndef SOMClass
  42.     #define SOMClass SOMObject
  43. #endif /* SOMClass */
  44. #ifndef SOMObject
  45.     #define SOMObject SOMObject
  46. #endif /* SOMObject */
  47. #ifndef ODFrame
  48.     #define ODFrame SOMObject
  49. #endif /* ODFrame */
  50. #ifndef ODFacet
  51.     #define ODFacet SOMObject
  52. #endif /* ODFacet */
  53. #ifndef ODObject
  54.     #define ODObject SOMObject
  55. #endif /* ODObject */
  56. #ifndef ODExtension
  57.     #define ODExtension SOMObject
  58. #endif /* ODExtension */
  59. #ifndef ODRefCntObject
  60.     #define ODRefCntObject SOMObject
  61. #endif /* ODRefCntObject */
  62. #ifndef ODSemanticInterface
  63.     #define ODSemanticInterface SOMObject
  64. #endif /* ODSemanticInterface */
  65. #ifndef ODSession
  66.     #define ODSession SOMObject
  67. #endif /* ODSession */
  68. #ifndef ODPart
  69.     #define ODPart SOMObject
  70. #endif /* ODPart */
  71. #ifndef ODDesc
  72.     #define ODDesc SOMObject
  73. #endif /* ODDesc */
  74. #ifndef ODAppleEvent
  75.     #define ODAppleEvent SOMObject
  76. #endif /* ODAppleEvent */
  77. #ifndef ODOSLToken
  78.     #define ODOSLToken SOMObject
  79. #endif /* ODOSLToken */
  80.  
  81. /*
  82.  * End of user-defined types.
  83.  */
  84.  
  85. #define ODSemanticInterface_MajorVersion 1
  86. #define ODSemanticInterface_MinorVersion 0
  87.  
  88. /*
  89.  * External name shortening if required
  90.  */
  91. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  92. #define ODSemanticInterfaceClassData d
  93. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  94. /*--------------Migration------------*/
  95.  
  96. #ifdef OLDIBMSOMAPISUPPORT
  97. #define ODSemanticInterface_classObj somNewClassReference(ODSemanticInterface)
  98. #define _ODSemanticInterface ODSemanticInterface_classObj
  99. #define ODSemanticInterfaceCClassData ODSemanticInterfaceClassData
  100. #define ODSemanticInterfaceNewClass(major,minor) somNewVersionedClassReference(ODSemanticInterface,major,minor)
  101. #endif
  102.  
  103. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  104. #define ODSemanticInterfaceMetaClass SOMClass
  105.  
  106. #if PRAGMA_ALIGN_SUPPORTED
  107. #  pragma options align=power
  108. #endif
  109.  
  110. /*
  111.  * Declare the class data structure
  112.  */
  113. SOMEXTERN struct ODSemanticInterfaceClassDataStructure {
  114. #ifdef OLDIBMSOMAPISUPPORT
  115.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  116. #else
  117.     long zero;
  118. #endif
  119.     somStaticClassInfo *sci;
  120.     somDToken        instanceDataToken;
  121.     long reserved [3];
  122.     somMToken InitSemanticInterface;
  123.     somMToken CallEventHandler;
  124.     somMToken CallCoercionHandler;
  125.     somMToken CallObjectAccessor;
  126.     somMToken CallCompareProc;
  127.     somMToken CallCountProc;
  128.     somMToken CallDisposeTokenProc;
  129.     somMToken CallGetErrDescProc;
  130.     somMToken CallGetMarkTokenProc;
  131.     somMToken CallMarkProc;
  132.     somMToken CallAdjustMarksProc;
  133.     somMToken GetOSLSupportFlags;
  134.     somMToken SetOSLSupportFlags;
  135.     somMToken CallPredispatchProc;
  136.     somMToken UsingPredispatchProc;
  137. } SOMDLINK ODSemanticInterfaceClassData;
  138.  
  139. #if PRAGMA_ALIGN_SUPPORTED
  140. #  pragma options align=reset
  141. #endif
  142.  
  143. #if !defined(ODSemanticInterface_Class_Source) && !defined(SOM_Module_semtintb_Source)
  144. #if PRAGMA_IMPORT_SUPPORTED
  145. #pragma import list ODSemanticInterfaceClassData
  146. #endif
  147. #endif
  148.  
  149.  
  150. /*
  151.  * New macro for ODSemanticInterface
  152.  */
  153. #define ODSemanticInterfaceNew() somNewObject(ODSemanticInterface)
  154.  
  155. /*
  156.  * Override method: BaseRemoved
  157.  */
  158. #define ODSemanticInterface_BaseRemoved(somSelf,ev) \
  159.     ODExtension_BaseRemoved(somSelf,ev)
  160.  
  161. /*
  162.  * Override method: IsValid
  163.  */
  164. #define ODSemanticInterface_IsValid(somSelf,ev) \
  165.     ODExtension_IsValid(somSelf,ev)
  166.  
  167. /*
  168.  * Override method: CheckValid
  169.  */
  170. #define ODSemanticInterface_CheckValid(somSelf,ev) \
  171.     ODExtension_CheckValid(somSelf,ev)
  172.  
  173. /*
  174.  * Override method: Release
  175.  */
  176. #define ODSemanticInterface_Release(somSelf,ev) \
  177.     ODRefCntObject_Release(somSelf,ev)
  178.  
  179. /*
  180.  * New Method: InitSemanticInterface
  181.  */
  182. typedef void   (SOMLINK *somTD_ODSemanticInterface_InitSemanticInterface)(ODSemanticInterface *somSelf, Environment *ev,
  183.         ODPart* base,
  184.         ODSession* session);
  185. #define somMD_ODSemanticInterface_InitSemanticInterface "::ODSemanticInterface::InitSemanticInterface"
  186. #define ODSemanticInterface_InitSemanticInterface(somSelf,ev,base,session) \
  187.     (SOM_Resolve(somSelf, ODSemanticInterface, InitSemanticInterface) \
  188.     (somSelf,ev,base,session))
  189. #ifndef SOMGD_InitSemanticInterface
  190.     #if (defined(_InitSemanticInterface) || defined(__InitSemanticInterface))
  191.         #undef _InitSemanticInterface
  192.         #undef __InitSemanticInterface
  193.         #define SOMGD_InitSemanticInterface 1
  194.     #else
  195.         #define _InitSemanticInterface ODSemanticInterface_InitSemanticInterface
  196.     #endif /* _InitSemanticInterface */
  197. #endif /* SOMGD_InitSemanticInterface */
  198.  
  199. /*
  200.  * New Method: CallEventHandler
  201.  */
  202. typedef void   (SOMLINK *somTD_ODSemanticInterface_CallEventHandler)(ODSemanticInterface *somSelf, Environment *ev,
  203.         ODPart* thePart,
  204.         ODAppleEvent* theODAppleEvent,
  205.         ODAppleEvent* reply);
  206. #define somMD_ODSemanticInterface_CallEventHandler "::ODSemanticInterface::CallEventHandler"
  207. #define ODSemanticInterface_CallEventHandler(somSelf,ev,thePart,theODAppleEvent,reply) \
  208.     (SOM_Resolve(somSelf, ODSemanticInterface, CallEventHandler) \
  209.     (somSelf,ev,thePart,theODAppleEvent,reply))
  210. #ifndef SOMGD_CallEventHandler
  211.     #if (defined(_CallEventHandler) || defined(__CallEventHandler))
  212.         #undef _CallEventHandler
  213.         #undef __CallEventHandler
  214.         #define SOMGD_CallEventHandler 1
  215.     #else
  216.         #define _CallEventHandler ODSemanticInterface_CallEventHandler
  217.     #endif /* _CallEventHandler */
  218. #endif /* SOMGD_CallEventHandler */
  219.  
  220. /*
  221.  * New Method: CallCoercionHandler
  222.  */
  223. typedef void   (SOMLINK *somTD_ODSemanticInterface_CallCoercionHandler)(ODSemanticInterface *somSelf, Environment *ev,
  224.         ODPart* thePart,
  225.         ODDesc* theODDesc,
  226.         ODDescType toType,
  227.         ODDesc* theResult);
  228. #define somMD_ODSemanticInterface_CallCoercionHandler "::ODSemanticInterface::CallCoercionHandler"
  229. #define ODSemanticInterface_CallCoercionHandler(somSelf,ev,thePart,theODDesc,toType,theResult) \
  230.     (SOM_Resolve(somSelf, ODSemanticInterface, CallCoercionHandler) \
  231.     (somSelf,ev,thePart,theODDesc,toType,theResult))
  232. #ifndef SOMGD_CallCoercionHandler
  233.     #if (defined(_CallCoercionHandler) || defined(__CallCoercionHandler))
  234.         #undef _CallCoercionHandler
  235.         #undef __CallCoercionHandler
  236.         #define SOMGD_CallCoercionHandler 1
  237.     #else
  238.         #define _CallCoercionHandler ODSemanticInterface_CallCoercionHandler
  239.     #endif /* _CallCoercionHandler */
  240. #endif /* SOMGD_CallCoercionHandler */
  241.  
  242. /*
  243.  * New Method: CallPredispatchProc
  244.  */
  245. typedef void   (SOMLINK *somTD_ODSemanticInterface_CallPredispatchProc)(ODSemanticInterface *somSelf, Environment *ev,
  246.         ODPart* thePart,
  247.         ODAppleEvent* theODAppleEvent,
  248.         ODAppleEvent* reply);
  249. #define somMD_ODSemanticInterface_CallPredispatchProc "::ODSemanticInterface::CallPredispatchProc"
  250. #define ODSemanticInterface_CallPredispatchProc(somSelf,ev,thePart,theODAppleEvent,reply) \
  251.     (SOM_Resolve(somSelf, ODSemanticInterface, CallPredispatchProc) \
  252.     (somSelf,ev,thePart,theODAppleEvent,reply))
  253. #ifndef SOMGD_CallPredispatchProc
  254.     #if (defined(_CallPredispatchProc) || defined(__CallPredispatchProc))
  255.         #undef _CallPredispatchProc
  256.         #undef __CallPredispatchProc
  257.         #define SOMGD_CallPredispatchProc 1
  258.     #else
  259.         #define _CallPredispatchProc ODSemanticInterface_CallPredispatchProc
  260.     #endif /* _CallPredispatchProc */
  261. #endif /* SOMGD_CallPredispatchProc */
  262.  
  263. /*
  264.  * New Method: CallObjectAccessor
  265.  */
  266. typedef void   (SOMLINK *somTD_ODSemanticInterface_CallObjectAccessor)(ODSemanticInterface *somSelf, Environment *ev,
  267.         ODPart* thePart,
  268.         ODDescType desiredClass,
  269.         ODOSLToken* container,
  270.         ODDescType containerClass,
  271.         ODDescType form,
  272.         ODDesc* selectionData,
  273.         ODOSLToken* value);
  274. #define somMD_ODSemanticInterface_CallObjectAccessor "::ODSemanticInterface::CallObjectAccessor"
  275. #define ODSemanticInterface_CallObjectAccessor(somSelf,ev,thePart,desiredClass,container,containerClass,form,selectionData,value) \
  276.     (SOM_Resolve(somSelf, ODSemanticInterface, CallObjectAccessor) \
  277.     (somSelf,ev,thePart,desiredClass,container,containerClass,form,selectionData,value))
  278. #ifndef SOMGD_CallObjectAccessor
  279.     #if (defined(_CallObjectAccessor) || defined(__CallObjectAccessor))
  280.         #undef _CallObjectAccessor
  281.         #undef __CallObjectAccessor
  282.         #define SOMGD_CallObjectAccessor 1
  283.     #else
  284.         #define _CallObjectAccessor ODSemanticInterface_CallObjectAccessor
  285.     #endif /* _CallObjectAccessor */
  286. #endif /* SOMGD_CallObjectAccessor */
  287.  
  288. /*
  289.  * New Method: CallCompareProc
  290.  */
  291. typedef void   (SOMLINK *somTD_ODSemanticInterface_CallCompareProc)(ODSemanticInterface *somSelf, Environment *ev,
  292.         ODPart* thePart,
  293.         ODDescType oper,
  294.         ODOSLToken* obj1,
  295.         ODOSLToken* obj2,
  296.         ODBoolean* result);
  297. #define somMD_ODSemanticInterface_CallCompareProc "::ODSemanticInterface::CallCompareProc"
  298. #define ODSemanticInterface_CallCompareProc(somSelf,ev,thePart,oper,obj1,obj2,result) \
  299.     (SOM_Resolve(somSelf, ODSemanticInterface, CallCompareProc) \
  300.     (somSelf,ev,thePart,oper,obj1,obj2,result))
  301. #ifndef SOMGD_CallCompareProc
  302.     #if (defined(_CallCompareProc) || defined(__CallCompareProc))
  303.         #undef _CallCompareProc
  304.         #undef __CallCompareProc
  305.         #define SOMGD_CallCompareProc 1
  306.     #else
  307.         #define _CallCompareProc ODSemanticInterface_CallCompareProc
  308.     #endif /* _CallCompareProc */
  309. #endif /* SOMGD_CallCompareProc */
  310.  
  311. /*
  312.  * New Method: CallCountProc
  313.  */
  314. typedef void   (SOMLINK *somTD_ODSemanticInterface_CallCountProc)(ODSemanticInterface *somSelf, Environment *ev,
  315.         ODPart* thePart,
  316.         ODDescType desiredType,
  317.         ODDescType containerClass,
  318.         ODOSLToken* container,
  319.         ODSLong* result);
  320. #define somMD_ODSemanticInterface_CallCountProc "::ODSemanticInterface::CallCountProc"
  321. #define ODSemanticInterface_CallCountProc(somSelf,ev,thePart,desiredType,containerClass,container,result) \
  322.     (SOM_Resolve(somSelf, ODSemanticInterface, CallCountProc) \
  323.     (somSelf,ev,thePart,desiredType,containerClass,container,result))
  324. #ifndef SOMGD_CallCountProc
  325.     #if (defined(_CallCountProc) || defined(__CallCountProc))
  326.         #undef _CallCountProc
  327.         #undef __CallCountProc
  328.         #define SOMGD_CallCountProc 1
  329.     #else
  330.         #define _CallCountProc ODSemanticInterface_CallCountProc
  331.     #endif /* _CallCountProc */
  332. #endif /* SOMGD_CallCountProc */
  333.  
  334. /*
  335.  * New Method: CallDisposeTokenProc
  336.  */
  337. typedef void   (SOMLINK *somTD_ODSemanticInterface_CallDisposeTokenProc)(ODSemanticInterface *somSelf, Environment *ev,
  338.         ODPart* thePart,
  339.         ODOSLToken* unneededToken);
  340. #define somMD_ODSemanticInterface_CallDisposeTokenProc "::ODSemanticInterface::CallDisposeTokenProc"
  341. #define ODSemanticInterface_CallDisposeTokenProc(somSelf,ev,thePart,unneededToken) \
  342.     (SOM_Resolve(somSelf, ODSemanticInterface, CallDisposeTokenProc) \
  343.     (somSelf,ev,thePart,unneededToken))
  344. #ifndef SOMGD_CallDisposeTokenProc
  345.     #if (defined(_CallDisposeTokenProc) || defined(__CallDisposeTokenProc))
  346.         #undef _CallDisposeTokenProc
  347.         #undef __CallDisposeTokenProc
  348.         #define SOMGD_CallDisposeTokenProc 1
  349.     #else
  350.         #define _CallDisposeTokenProc ODSemanticInterface_CallDisposeTokenProc
  351.     #endif /* _CallDisposeTokenProc */
  352. #endif /* SOMGD_CallDisposeTokenProc */
  353.  
  354. /*
  355.  * New Method: CallGetErrDescProc
  356.  */
  357. typedef void   (SOMLINK *somTD_ODSemanticInterface_CallGetErrDescProc)(ODSemanticInterface *somSelf, Environment *ev,
  358.         ODPart* thePart,
  359.         ODDesc** errDesc);
  360. #define somMD_ODSemanticInterface_CallGetErrDescProc "::ODSemanticInterface::CallGetErrDescProc"
  361. #define ODSemanticInterface_CallGetErrDescProc(somSelf,ev,thePart,errDesc) \
  362.     (SOM_Resolve(somSelf, ODSemanticInterface, CallGetErrDescProc) \
  363.     (somSelf,ev,thePart,errDesc))
  364. #ifndef SOMGD_CallGetErrDescProc
  365.     #if (defined(_CallGetErrDescProc) || defined(__CallGetErrDescProc))
  366.         #undef _CallGetErrDescProc
  367.         #undef __CallGetErrDescProc
  368.         #define SOMGD_CallGetErrDescProc 1
  369.     #else
  370.         #define _CallGetErrDescProc ODSemanticInterface_CallGetErrDescProc
  371.     #endif /* _CallGetErrDescProc */
  372. #endif /* SOMGD_CallGetErrDescProc */
  373.  
  374. /*
  375.  * New Method: CallGetMarkTokenProc
  376.  */
  377. typedef void   (SOMLINK *somTD_ODSemanticInterface_CallGetMarkTokenProc)(ODSemanticInterface *somSelf, Environment *ev,
  378.         ODPart* thePart,
  379.         ODOSLToken* dContainerToken,
  380.         ODDescType containerClass,
  381.         ODOSLToken* result);
  382. #define somMD_ODSemanticInterface_CallGetMarkTokenProc "::ODSemanticInterface::CallGetMarkTokenProc"
  383. #define ODSemanticInterface_CallGetMarkTokenProc(somSelf,ev,thePart,dContainerToken,containerClass,result) \
  384.     (SOM_Resolve(somSelf, ODSemanticInterface, CallGetMarkTokenProc) \
  385.     (somSelf,ev,thePart,dContainerToken,containerClass,result))
  386. #ifndef SOMGD_CallGetMarkTokenProc
  387.     #if (defined(_CallGetMarkTokenProc) || defined(__CallGetMarkTokenProc))
  388.         #undef _CallGetMarkTokenProc
  389.         #undef __CallGetMarkTokenProc
  390.         #define SOMGD_CallGetMarkTokenProc 1
  391.     #else
  392.         #define _CallGetMarkTokenProc ODSemanticInterface_CallGetMarkTokenProc
  393.     #endif /* _CallGetMarkTokenProc */
  394. #endif /* SOMGD_CallGetMarkTokenProc */
  395.  
  396. /*
  397.  * New Method: CallMarkProc
  398.  */
  399. typedef void   (SOMLINK *somTD_ODSemanticInterface_CallMarkProc)(ODSemanticInterface *somSelf, Environment *ev,
  400.         ODPart* thePart,
  401.         ODOSLToken* dToken,
  402.         ODOSLToken* markToken,
  403.         ODSLong index);
  404. #define somMD_ODSemanticInterface_CallMarkProc "::ODSemanticInterface::CallMarkProc"
  405. #define ODSemanticInterface_CallMarkProc(somSelf,ev,thePart,dToken,markToken,index) \
  406.     (SOM_Resolve(somSelf, ODSemanticInterface, CallMarkProc) \
  407.     (somSelf,ev,thePart,dToken,markToken,index))
  408. #ifndef SOMGD_CallMarkProc
  409.     #if (defined(_CallMarkProc) || defined(__CallMarkProc))
  410.         #undef _CallMarkProc
  411.         #undef __CallMarkProc
  412.         #define SOMGD_CallMarkProc 1
  413.     #else
  414.         #define _CallMarkProc ODSemanticInterface_CallMarkProc
  415.     #endif /* _CallMarkProc */
  416. #endif /* SOMGD_CallMarkProc */
  417.  
  418. /*
  419.  * New Method: CallAdjustMarksProc
  420.  */
  421. typedef void   (SOMLINK *somTD_ODSemanticInterface_CallAdjustMarksProc)(ODSemanticInterface *somSelf, Environment *ev,
  422.         ODPart* thePart,
  423.         ODSLong newStart,
  424.         ODSLong newStop,
  425.         ODOSLToken* markToken);
  426. #define somMD_ODSemanticInterface_CallAdjustMarksProc "::ODSemanticInterface::CallAdjustMarksProc"
  427. #define ODSemanticInterface_CallAdjustMarksProc(somSelf,ev,thePart,newStart,newStop,markToken) \
  428.     (SOM_Resolve(somSelf, ODSemanticInterface, CallAdjustMarksProc) \
  429.     (somSelf,ev,thePart,newStart,newStop,markToken))
  430. #ifndef SOMGD_CallAdjustMarksProc
  431.     #if (defined(_CallAdjustMarksProc) || defined(__CallAdjustMarksProc))
  432.         #undef _CallAdjustMarksProc
  433.         #undef __CallAdjustMarksProc
  434.         #define SOMGD_CallAdjustMarksProc 1
  435.     #else
  436.         #define _CallAdjustMarksProc ODSemanticInterface_CallAdjustMarksProc
  437.     #endif /* _CallAdjustMarksProc */
  438. #endif /* SOMGD_CallAdjustMarksProc */
  439.  
  440. /*
  441.  * New Method: GetOSLSupportFlags
  442.  */
  443. typedef ODSShort   (SOMLINK *somTD_ODSemanticInterface_GetOSLSupportFlags)(ODSemanticInterface *somSelf, Environment *ev);
  444. #define somMD_ODSemanticInterface_GetOSLSupportFlags "::ODSemanticInterface::GetOSLSupportFlags"
  445. #define ODSemanticInterface_GetOSLSupportFlags(somSelf,ev) \
  446.     (SOM_Resolve(somSelf, ODSemanticInterface, GetOSLSupportFlags) \
  447.     (somSelf,ev))
  448. #ifndef SOMGD_GetOSLSupportFlags
  449.     #if (defined(_GetOSLSupportFlags) || defined(__GetOSLSupportFlags))
  450.         #undef _GetOSLSupportFlags
  451.         #undef __GetOSLSupportFlags
  452.         #define SOMGD_GetOSLSupportFlags 1
  453.     #else
  454.         #define _GetOSLSupportFlags ODSemanticInterface_GetOSLSupportFlags
  455.     #endif /* _GetOSLSupportFlags */
  456. #endif /* SOMGD_GetOSLSupportFlags */
  457.  
  458. /*
  459.  * New Method: SetOSLSupportFlags
  460.  */
  461. typedef void   (SOMLINK *somTD_ODSemanticInterface_SetOSLSupportFlags)(ODSemanticInterface *somSelf, Environment *ev,
  462.         ODSShort flags);
  463. #define somMD_ODSemanticInterface_SetOSLSupportFlags "::ODSemanticInterface::SetOSLSupportFlags"
  464. #define ODSemanticInterface_SetOSLSupportFlags(somSelf,ev,flags) \
  465.     (SOM_Resolve(somSelf, ODSemanticInterface, SetOSLSupportFlags) \
  466.     (somSelf,ev,flags))
  467. #ifndef SOMGD_SetOSLSupportFlags
  468.     #if (defined(_SetOSLSupportFlags) || defined(__SetOSLSupportFlags))
  469.         #undef _SetOSLSupportFlags
  470.         #undef __SetOSLSupportFlags
  471.         #define SOMGD_SetOSLSupportFlags 1
  472.     #else
  473.         #define _SetOSLSupportFlags ODSemanticInterface_SetOSLSupportFlags
  474.     #endif /* _SetOSLSupportFlags */
  475. #endif /* SOMGD_SetOSLSupportFlags */
  476.  
  477. /*
  478.  * New Method: UsingPredispatchProc
  479.  */
  480. typedef void   (SOMLINK *somTD_ODSemanticInterface_UsingPredispatchProc)(ODSemanticInterface *somSelf, Environment *ev,
  481.         ODBoolean usingNotUsing);
  482. #define somMD_ODSemanticInterface_UsingPredispatchProc "::ODSemanticInterface::UsingPredispatchProc"
  483. #define ODSemanticInterface_UsingPredispatchProc(somSelf,ev,usingNotUsing) \
  484.     (SOM_Resolve(somSelf, ODSemanticInterface, UsingPredispatchProc) \
  485.     (somSelf,ev,usingNotUsing))
  486. #ifndef SOMGD_UsingPredispatchProc
  487.     #if (defined(_UsingPredispatchProc) || defined(__UsingPredispatchProc))
  488.         #undef _UsingPredispatchProc
  489.         #undef __UsingPredispatchProc
  490.         #define SOMGD_UsingPredispatchProc 1
  491.     #else
  492.         #define _UsingPredispatchProc ODSemanticInterface_UsingPredispatchProc
  493.     #endif /* _UsingPredispatchProc */
  494. #endif /* SOMGD_UsingPredispatchProc */
  495. #ifndef SOM_DONT_USE_INHERITED_MACROS
  496. #define ODSemanticInterface_InitExtension ODExtension_InitExtension
  497. #define ODSemanticInterface_GetBase ODExtension_GetBase
  498. #define ODSemanticInterface_InitRefCntObject ODRefCntObject_InitRefCntObject
  499. #define ODSemanticInterface_Acquire ODRefCntObject_Acquire
  500. #define ODSemanticInterface_GetRefCount ODRefCntObject_GetRefCount
  501. #define ODSemanticInterface_somUninit SOMObject_somUninit
  502. #define ODSemanticInterface_InitObject ODObject_InitObject
  503. #define ODSemanticInterface_HasExtension ODObject_HasExtension
  504. #define ODSemanticInterface_AcquireExtension ODObject_AcquireExtension
  505. #define ODSemanticInterface_ReleaseExtension ODObject_ReleaseExtension
  506. #define ODSemanticInterface_Purge ODObject_Purge
  507. #define ODSemanticInterface_IsEqualTo ODObject_IsEqualTo
  508. #define ODSemanticInterface_SubClassResponsibility ODObject_SubClassResponsibility
  509. #define ODSemanticInterface_somInit SOMObject_somInit
  510. #define ODSemanticInterface_somUninit SOMObject_somUninit
  511. #define ODSemanticInterface_somInit SOMObject_somInit
  512. #define ODSemanticInterface_somUninit SOMObject_somUninit
  513. #define ODSemanticInterface_somDuplicateReference SOMObject_somDuplicateReference
  514. #define ODSemanticInterface_somCompareReference SOMObject_somCompareReference
  515. #define ODSemanticInterface_somRelease SOMObject_somRelease
  516. #define ODSemanticInterface_somFree SOMObject_somFree
  517. #define ODSemanticInterface_somCanDelete SOMObject_somCanDelete
  518. #define ODSemanticInterface_somGetClass SOMObject_somGetClass
  519. #define ODSemanticInterface_somGetClassName SOMObject_somGetClassName
  520. #define ODSemanticInterface_somGetSize SOMObject_somGetSize
  521. #define ODSemanticInterface_somIsA SOMObject_somIsA
  522. #define ODSemanticInterface_somRespondsTo SOMObject_somRespondsTo
  523. #define ODSemanticInterface_somIsInstanceOf SOMObject_somIsInstanceOf
  524. #define ODSemanticInterface_somDispatch SOMObject_somDispatch
  525. #define ODSemanticInterface_somClassDispatch SOMObject_somClassDispatch
  526. #define ODSemanticInterface_somCastObj SOMObject_somCastObj
  527. #define ODSemanticInterface_somResetObj SOMObject_somResetObj
  528. #define ODSemanticInterface_somPrintSelf SOMObject_somPrintSelf
  529. #define ODSemanticInterface_somDumpSelf SOMObject_somDumpSelf
  530. #define ODSemanticInterface_somDumpSelfInt SOMObject_somDumpSelfInt
  531. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  532.  
  533. #endif       /* SOM_ODSemanticInterface_h */
  534.